package com.zlx.rulemk.marketing.buffer;

import com.zlx.rulemk.marketing.beans.BufferData;

import java.util.Map;

/**
 * @Author: zhanglingxing
 * @CreateTime: 2022-07-09
 * @Description: 缓存管理工具接口
 * @Version: 1.0
 */
public interface BufferManager {

    public BufferData getDataFromBuffer(String bufferKey);

    public boolean putDataToBuffer(BufferData bufferData);

    public boolean putDataToBuffer(String bufferKey, Map<String,String> valueMap);

    public void delBufferEntry(String bufferKey, String key);
}
